package k1_baseGrammar;

public class Demo1_branch_if {

    public static void main(String[] args) {

        int age = 20;

        if(age==18){
            System.out.println("我成年了");
        }else if(age==30){
            System.out.println("三十而立");
        }else if(age==60){
            System.out.println("我退休了");
        }
    }

}
